home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 98 / Skunkware 98.iso / src / mail / pine3.96.tar.gz / pine3.96.tar / pine3.96 / pico / makefile.aix < prev    next >
Makefile  |  1996-04-05  |  2KB  |  86 lines

  1. # $Id: makefile.aix,v 4.6 1996/04/05 18:06:44 mikes Exp $
  2. #
  3. #   Michael Seibel
  4. #   Networks and Distributed Computing
  5. #   Computing and Communications
  6. #   University of Washington
  7. #   Administration Builiding, AG-44
  8. #   Seattle, Washington, 98195, USA
  9. #   Internet: mikes@cac.washington.edu
  10. #
  11. #   Please address all bugs and comments to "pine-bugs@cac.washington.edu"
  12. #
  13. #
  14. #   Pine and Pico are registered trademarks of the University of Washington.
  15. #   No commercial use of these trademarks may be made without prior written
  16. #   permission of the University of Washington.
  17. #
  18. #   Pine, Pico, and Pilot software and its included text are Copyright
  19. #   1989-1996 by the University of Washington.
  20. #
  21. #   The full text of our legal notices is contained in the file called
  22. #   CPYRIGHT, included with this distribution.
  23. #
  24.  
  25. #
  26. # Makefile for AIX on 3090 version of the PINE composer library and 
  27. # stand-alone editor pico.
  28. #
  29.  
  30. DASHO=        
  31.  
  32. #includes symbol info for debugging 
  33. STDCFLAGS=    -g -I/usr/include -Daix -DMOUSE
  34.  
  35. #for the normal library
  36. #STDCFLAGS=    -O -I/usr/include -Daix -DMOUSE
  37.  
  38. CFLAGS=        $(EXTRACFLAGS) $(DASHO) $(STDCFLAGS)
  39.  
  40. # switches for library building
  41. LIBCMD=ar
  42. LIBARGS=ru
  43.  
  44. LIBS=        $(EXTRALIBES) -ltermcap -lc
  45.  
  46. OFILES=        ansi.o attach.o basic.o bind.o browse.o buffer.o \
  47.         composer.o display.o file.o fileio.o line.o osdep.o \
  48.         pico.o random.o  region.o search.o spell.o tcap.o window.o word.o
  49.  
  50. CFILES=        ansi.c attach.o basic.c bind.c browse.o buffer.c \
  51.         composer.c display.c file.c fileio.c line.c osdep.c \
  52.         pico.c random.c region.c search.c spell.c tcap.c window.c word.c
  53.  
  54. HFILES=        estruct.h edef.h efunc.h ebind.h pico.h
  55.  
  56.  
  57. #
  58. # dependencies for the Unix versions of pico and libpico.a
  59. #
  60. all:        pico pilot
  61.  
  62. osdep.c:    os_unix.c
  63.         rm -f osdep.c
  64.         cp os_unix.c osdep.c
  65.  
  66. osdep.h:    os_unix.h
  67.         rm -f osdep.h
  68.         cp os_unix.h osdep.h
  69.  
  70. libpico.a:    osdep.c osdep.h $(OFILES)
  71.         $(LIBCMD) $(LIBARGS) libpico.a $(OFILES)
  72.         ranlib libpico.a
  73.  
  74. pico:        main.c libpico.a
  75.         $(CC) $(CFLAGS) main.c libpico.a $(LIBS) -o pico
  76.  
  77. pilot:        pilot.c libpico.a
  78.         $(CC) $(CFLAGS) pilot.c libpico.a $(LIBS) -o pilot
  79.  
  80. .c.o:        ; $(CC) -c $(CFLAGS) $*.c
  81.  
  82. $(OFILES):    $(HFILES)
  83.  
  84. clean:
  85.         rm -f *.a *.o *~ osdep.c osdep.h pico pilot
  86.